<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/jsp/common/common_include_for_server.jsp"%>
<link href="js/uploadify/uploadify.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="<%=request.getContextPath()%>/ckeditor/ckeditor.js"></script>
<script type="text/javascript">
$(document).ready(function() {
	var options = {
		//filebrowserBrowseUrl : '/<%=request.getContextPath()%>',
		//filebrowserImageBrowseUrl : '<%=request.getContextPath()%>',
		//filebrowserUploadUrl : '<%=request.getContextPath()%>/manage/upload.action',
		filebrowserImageUploadUrl : '<%=request.getContextPath()%>/manage/upload.action'
	};
	CKEDITOR.replace( 'servingProcess.content', options );
	$( "#servingProcess_displayTime" ).datepicker({dateFormat: 'yy-mm-dd'});
});
</script>
<s:form action="servingProcess!saveOrUpdateDo.action" method="post">
<table border="1" width="100%">
	<tr>
		<th width="100px;">
			标题
		</th>
		<td>
			<s:textfield name="servingProcess.title" value="%{servingProcess.title}" size="50"/>
		</td>
	</tr>
		<tr>
			<th>时间</th>
			<td><input id="servingProcess_displayTime" name="servingProcess.displayTime" value='<s:date name="servingProcess.displayTime" format="yyyy-MM-dd"/>'/></td>
		</tr>
	<tr>
	<tr>
		<td colspan="2">
			<s:textarea name="servingProcess.content" rows="6" cols="60" ></s:textarea>
		</td>
	</tr>
	<tr>
		<td colspan="2">
			<s:hidden name="servingProcess.servingProcessId" value="%{servingProcess.servingProcessId}"></s:hidden>
			<s:submit value="提交"></s:submit>
		</td>
	</tr>
</table>
</s:form>